﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCDto.TMS.VehicleBusinessMapping
{
    /// <summary>
    /// 车辆与业务配置
    /// </summary>
    public class VehicleBusinessMappingOverwriteDto
    {
        /// <summary>
		/// 车辆业务映射Id
		/// </summary>
		public int VehicleBusinessMappingId { get; set; }
		/// <summary>
		/// 车辆业务映射重写Id
		/// </summary>		
		public int? VehicleBusinessMappingOverwriteId { get; set; }
        /// <summary>
        /// 已启用
        /// </summary>
        [Display(Name = "已启用")]
        [Required(ErrorMessage = "{0} 为必填项")]
        public bool Enabled { get; set; }
        /// <summary>
        /// 省份Code
        /// </summary>
        [Display(Name = "省份Code")]
        public string ProvinceCode { get; set; }

        /// <summary>
        /// 市Code
        /// </summary>
        [Display(Name = "市Code")]
        public string CityCode { get; set; }

        /// <summary>
        /// 发货地县区Code
        /// </summary>
        [Display(Name = "发货地县区Code")]
        public string CountyCode { get; set; }

    }
}
